﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true"
    StylesheetTheme="Content" CodeFile="DutyView1.aspx.cs" Inherits="DutyLog_DutyView1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <style>
        .tb
        {
            border: solid 1px #CCC;
            background-color: #CCC;
        }
        .tb tr td
        {
            border: solid 0px #CCC;
            background-color: #FFF;
            text-align: center;
        }
        .cel
        {
            border: solid 1px #CCC;
        }
        .cel2
        {
            border: solid 1px #CCC;
            height: 30px;
        }
        .cel3
        {
            border: 0;
            margin: 0;
            padding: 0;
        }
        .cel4
        {
            border-left: solid 1px #CCC;
            vertical-align: top;
        }
        .cel5
        {
            vertical-align: top;
        }
    </style>
    <table class="dialog" width="770px" cellpadding="0" cellspacing="0">
        <caption>
            <span>执勤记录(<%=SetDate()%>)</span>
        </caption>
        <tr>
            <td style="text-align: left" colspan=8>
                单位：<asp:Label ID="lblCaption" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <table width="770px" class="tb" cellpadding="4" cellspacing="1">
        <asp:Repeater ID="rpt" runat="server" OnItemCommand="rpt_ItemCommand">
            <HeaderTemplate>
                <%# GetHeader()%>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td colspan="2" style="background-color: #F6FAE6; text-align: center">
                        车号
                    </td>
                    <td colspan="2" style="background-color: #F6FAE6; text-align: center">
                        车种
                    </td>
                    <td colspan="2" style="background-color: #F6FAE6; text-align: center">
                        执勤车
                    </td>
                    <td colspan="2" style="background-color: #F6FAE6; text-align: center">
                        预备车
                    </td>
                </tr>
                <%# SetItem(Eval("ID"), Eval("DCar"), Eval("Equippedcar"),Eval("CarKinds"),Eval("OrderID"))%>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <%--   <asp:Table ID="tbList" CssClass="tb"  Width="770px"  CellPadding="4" CellSpacing="0" runat="server">
    </asp:Table>--%>
</asp:Content>
